package myContacts;

import java.io.Serializable;

public class Region implements Serializable, Cloneable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String value;
	private boolean immutable;
	
	public Region() {
		super();
		value = "";
		immutable = false;
	}

	public Region(String value) {
		super();
		this.value = value;
	}

	public Region(String value, boolean immutable) {
		super();
		this.value = value;
		this.immutable = immutable;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public boolean isImmutable() {
		return immutable;
	}

	public void setImmutable(boolean immutable) {
		this.immutable = immutable;
	}

	@Override
	protected Region clone() {
		// TODO Auto-generated method stub		
		return new Region(value, immutable);
	}

}
